package com.manage.platform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 职称基础信息实体类
 */
@Accessors(chain = true)
@Data
@TableName("t_professional_title")
public class ProfessionalTitleEntity implements Serializable {

    /**
     * 职称ID
     */
    @TableId(type = IdType.AUTO)
    @Schema(description = "职称ID")
    private Long id;
    /**
     *创建者用户ID
     */
    @Schema(description = "创建者用户ID")
    private Long userId;
    /**
     *职称编码
     */
    @Schema(description = "职称编码")
    private String code;
    /**
     *职称名称
     */
    @Schema(description = "职称名称")
    private String name;
    /**
     *职称类别(教学科研/实验技术/工程技术/图书资料)
     */
    @Schema(description = "职称类别(教学科研/实验技术/工程技术/图书资料)")
    private String category;
    /**
     *职称等级(1:初级,2:中级,3:高级,4:正高级)
     */
    @Schema(description = "职称等级(1:初级,2:中级,3:高级,4:正高级)")
    private Integer level;
    /**
     *备注
     */
    @Schema(description = "备注")
    private String remark;
    /**
     *状态(0:禁用,1:启用)
     */
    @Schema(description = "状态(0:禁用,1:启用)")
    private Integer status;
    /**
     *创建时间
     */
    @Schema(description = "创建时间")
    private String createTime;
    /**
     *更新时间
     */
    @Schema(description = "更新时间")
    private String updateTime;
    /**
     *是否删除(0:否,1:是)
     */
    @TableLogic
    @Schema(description = "是否删除(0:否,1:是)")
    private Integer isDeleted;

}
